package com.mf.entity.bo;

import lombok.ToString;

import java.io.Serial;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * @author mf
 * @since 2024-07-19
 */
@Getter
@ToString
@Setter
@TableName("t_data_dictionary")

public class DataDictionaryBo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 字典值
     */
    private String dctValue;

    /**
     * 字典名称
     */
    private String dctLabel;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 父级id
     */
    private Integer pid;

    /**
     * 状态 1:启用；0：禁用
     */
    private Integer status;

    /**
     * 编号
     */
    private String code;

    /**
     * 可编辑角色(null所有角色可编辑)
     */
    private String editRole;

    /**
     * 所属系统
     */
    private String systemCode;

    private LocalDateTime createdTime;

    private LocalDateTime updateTime;
}